DontInstallAnyPlugins
InstallPlugin "Quest Award Leveller.esp"
LoadAfter "Quest Award Leveller.esp" "Unofficial Oblivion Patch.esp"
LoadAfter "Quest Award Leveller.esp" "Oblivion Citadel Door Fix.esp"
If DataFileExists "DLCVileLair.esp"
  If DialogYesNo " Vile Lair Award Leveller?"
    InstallPlugin "Quest Award Leveller - Vile Lair.esp"
    LoadAfter "Quest Award Leveller - Vile Lair.esp" "Quest Award Leveller.esp"
    LoadAfter "Quest Award Leveller - Vile Lair.esp" "DLCVileLair.esp"
    LoadAfter "Quest Award Leveller - Vile Lair.esp" "DLCVileLair - Unofficial Patch.esp"
  EndIf
EndIf
If DataFileExists "DLCMehrunesRazor.esp"
  If DialogYesNo " Mehrunes Razor Award Leveller?"
    InstallPlugin "Quest Award Leveller - Mehrunes Razor.esp"
    LoadAfter "Quest Award Leveller - Mehrunes Razor.esp" "Quest Award Leveller.esp"
    LoadAfter "Quest Award Leveller - Mehrunes Razor.esp" "DLCMehrunesRazor.esp"
    LoadAfter "Quest Award Leveller - Mehrunes Razor.esp" "DLCMehrunesRazor - Unofficial Patch.esp"
  EndIf
EndIf
If DataFileExists "Knights.esp"
  If DialogYesNo " Knights of the Nine Award Leveller?"
    InstallPlugin "Quest Award Leveller - Knights of the Nine.esp"
    LoadAfter "Quest Award Leveller - Knights of the Nine.esp" "Quest Award Leveller.esp"
    LoadAfter "Quest Award Leveller - Knights of the Nine.esp" "Knights.esp"
    LoadAfter "Quest Award Leveller - Knights of the Nine.esp" "Knights - Unofficial Patch.esp"
  EndIf
EndIf
If DataFileExists "DLCBattlehornCastle.esp"
  If DialogYesNo " Battlehorn Castle Award Leveller?"
    InstallPlugin "Quest Award Leveller - Battlehorn Castle.esp"
    LoadAfter "Quest Award Leveller - Battlehorn Castle.esp" "Quest Award Leveller.esp"
    LoadAfter "Quest Award Leveller - Battlehorn Castle.esp" "DLCBattlehornCastle.esp"
    LoadAfter "Quest Award Leveller - Battlehorn Castle.esp" "DLCBattlehornCastle - Unofficial Patch.esp"
  EndIf
EndIf
